package com.libraryApp.appVo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @CreateDate 2021-03-14
 * @Author yufang
 */
@Data
@ApiModel(description = "用户预约图书vo")
public class AppBorrowingVo {

    @ApiModelProperty(value = "图书id")
    private int bookId;

    @ApiModelProperty(value = "用户id")
    private long userId;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @ApiModelProperty(value = "用户在手机上下单时间")
    private Date startTime;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @ApiModelProperty(value = "图书管理员处理时间")
    private Date endTime;

    @ApiModelProperty(value = "是否已经处理  0-》未处理 1-》已处理")
    private int isOver;

    @ApiModelProperty(value = "图书管理员处理方式  0-》借阅图书  1-》取消借阅")
    private int isTrue;

}
